package com.chazz.service;

import com.chazz.entity.User;

import java.sql.SQLException;

public interface UserService {
    public boolean updateUserInfo(User user);
    public User findUserById(int id) throws SQLException;


    public boolean addUser(User user);
    public User findUserByEmail(String email) throws SQLException;
    public int findUserFinalId() throws SQLException;
    public boolean updateUserPassword(User user) throws SQLException;

        }
